<div class="col-md-12">
    <div class="card card-primary">
        <div class="card-header">
            <h3 class="card-title">新建桌子</h3></div>
        <!-- /.card-header -->
        <!-- form start -->
        <form role="form" >
            <div class="card-body">
                <div class="form-group">
                    <label>店铺选择</label>
                    <select id="mall_id" name="mall_id" class="form-control select2 select2-hidden-accessible" style="width: 100%;" tabindex="-1" aria-hidden="true">
                        <?php foreach ($mall_list as $mall):?>
                        <option value="<?=$mall['id']?>"><?=$mall['name']?></option>
                        <?php endforeach;?>
                    </select>
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail1">桌子名称</label>
                    <input type="text" class="form-control" id="deskname" name="deskname" value="">
                </div>
            </div>
            <!-- /.card-body -->
            <div class="card-footer">
                <button type="button" class="btn btn-primary" onclick="create_desk()">保存</button>
            </div>
        </form>
    </div>
</div>